package pl.edu.mimuw.irs.rcp.wizard.newproject;

import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Listener;

import pl.edu.mimuw.irs.rcp.util.MessageCode;
import pl.edu.mimuw.irs.rcp.util.UITexts;

public class ResourcesPage extends WizardPage implements Listener {

	// *** Attributes

	// *** Constructors

	public ResourcesPage() {
		super(UITexts.get(MessageCode.PROJECT_WIZARD_RESOURCES_TITLE));
	}
	
	protected ResourcesPage(String pageName) {
		super(pageName);
		// TODO Auto-generated constructor stub
	}
	
	// *** Methods


	@Override
	public void createControl(Composite parent) {
		GridData gridData;
		Composite composite =  new Composite(parent, SWT.NULL);

	    // create the desired layout for this wizard page
		GridLayout gridLayout = new GridLayout();
		gridLayout.numColumns = 2;
		composite.setLayout(gridLayout);
		
		gridData = new GridData();
		gridData.horizontalAlignment = GridData.BEGINNING;	
		
		setControl(composite);		
		addListeners();
	}

	
	private void addListeners() {
		//txtProjectName.addListener(SWT.KeyUp, this);
	}

	@Override
	public void handleEvent(Event event) {
		// TODO Auto-generated method stub
		
	}
}
